<#import "/freemarker/modeltype.ftl" as mt>
<div class="dataTables_title">
	<div class="dataTables_title_left">按钮注释</div>
	<div class="dataTables_title_right">
		<a class="btn btn-info" href="#"><i class="icon-tag"></i> 详情</a>
		<a class="btn btn-primary" href="#"><i class="icon-bullhorn"></i>申请首页展示</a>
		<a class="btn btn-success" href="#"><i class="icon-edit"></i> 编辑</a>
		<a class="btn btn-danger" href="#"><i class="icon-remove"></i> 删除</a>
	</div>
</div>
<table cellpadding="1" cellspacing="1" class="table table-bordered">
	<thead>
		<tr class="ui-widget-header">
			<th>招聘职位</th>
			<th>已报名人数</th>
			<th>性别</th>
			<th>年龄</th>
			<th>学历</th>
			<th>专业</th>
			<th>招聘人数</th>
			<th>招聘起始时间</th>
			<th>招聘截止时间</th>
			<th style="width: 80px;">操作</th>
		</tr>
	</thead>
	<#list pageBean.resultList as ri>
	<tr class="ui-widget-content">
		<td>${ri.post}</td>
		<td><a style="color:red;" href="javascript:;" onclick="javascript:editRecruitJoin('${ri.code}');" title="编辑参与详情">${ri.joinNum}</a></td>
		<td><#if ri.sex==0>不限<#elseif ri.sex==1>男<#else>女</#if></td>
		<td>${ri.age}</td>
		<td>${ri.eb}</td>
		<td>${ri.major}</td>
		<td>${ri.num}</td>
		<td><#if ri.startTime??>${ri.startTime?string('yyyy-MM-dd')}</#if></td>
		<td><#if ri.stopTime??>${ri.stopTime?string('yyyy-MM-dd')}</#if></td>
		<td>
			<div class="btn-group">
			<a class="btn btn-xs btn-info" href="javascript:;" onclick="javascript:editRecruitJoin('${ri.code}');" title="编辑参与详情">
				<i class="icon-tag"></i></a>
			<a dis class="btn btn-xs btn-primary" href="javascript:;" onclick="javascript:applyIndexShow($(this),'${ri.code}','${ri.oc}');" title="申请首页展示">
				<i class="icon-bullhorn"></i></a>
			<a class="btn btn-xs btn-success" href="javascript:;" onclick="javascript:sys_load_handle('recruitinfo-edit_${ri.code}');" title="编辑">
				<i class="icon-edit"></i></a>
			<a class="btn btn-xs btn-danger" href="javascript:;" onclick="javascript:deleteRecruitInfo('${ri.code}');" title="删除">
				<i class="icon-remove"></i></a></div>
		</td>
	</tr>
	</#list>
</table>
<#import "/freemarker/pagination.ftl" as p>
<@p.pagination pageBean 'queryRecruitInfo'/>